<!DOCTYPE html>
<html>
<head>
<title>接口文档v2</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
/* GitHub stylesheet for MarkdownPad (http://markdownpad.com) */
/* Author: Nicolas Hery - http://nicolashery.com */
/* Version: b13fe65ca28d2e568c6ed5d7f06581183df8f2ff */
/* Source: https://github.com/nicolahery/markdownpad-github */

/* RESET
=============================================================================*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
}

/* BODY
=============================================================================*/

body {
  font-family: Helvetica, arial, freesans, clean, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  padding: 20px;
  max-width: 960px;
  margin: 0 auto;
}

body>*:first-child {
  margin-top: 0 !important;
}

body>*:last-child {
  margin-bottom: 0 !important;
}

/* BLOCKS
=============================================================================*/

p, blockquote, ul, ol, dl, table, pre {
  margin: 15px 0;
}

/* HEADERS
=============================================================================*/

h1, h2, h3, h4, h5, h6 {
  margin: 20px 0 10px;
  padding: 0;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
}

h1 tt, h1 code, h2 tt, h2 code, h3 tt, h3 code, h4 tt, h4 code, h5 tt, h5 code, h6 tt, h6 code {
  font-size: inherit;
}

h1 {
  font-size: 28px;
  color: #000;
}

h2 {
  font-size: 24px;
  border-bottom: 1px solid #ccc;
  color: #000;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

h5 {
  font-size: 14px;
}

h6 {
  color: #777;
  font-size: 14px;
}

body>h2:first-child, body>h1:first-child, body>h1:first-child+h2, body>h3:first-child, body>h4:first-child, body>h5:first-child, body>h6:first-child {
  margin-top: 0;
  padding-top: 0;
}

a:first-child h1, a:first-child h2, a:first-child h3, a:first-child h4, a:first-child h5, a:first-child h6 {
  margin-top: 0;
  padding-top: 0;
}

h1+p, h2+p, h3+p, h4+p, h5+p, h6+p {
  margin-top: 10px;
}

/* LINKS
=============================================================================*/

a {
  color: #4183C4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* LISTS
=============================================================================*/

ul, ol {
  padding-left: 30px;
}

ul li > :first-child, 
ol li > :first-child, 
ul li ul:first-of-type, 
ol li ol:first-of-type, 
ul li ol:first-of-type, 
ol li ul:first-of-type {
  margin-top: 0px;
}

ul ul, ul ol, ol ol, ol ul {
  margin-bottom: 0;
}

dl {
  padding: 0;
}

dl dt {
  font-size: 14px;
  font-weight: bold;
  font-style: italic;
  padding: 0;
  margin: 15px 0 5px;
}

dl dt:first-child {
  padding: 0;
}

dl dt>:first-child {
  margin-top: 0px;
}

dl dt>:last-child {
  margin-bottom: 0px;
}

dl dd {
  margin: 0 0 15px;
  padding: 0 15px;
}

dl dd>:first-child {
  margin-top: 0px;
}

dl dd>:last-child {
  margin-bottom: 0px;
}

/* CODE
=============================================================================*/

pre, code, tt {
  font-size: 12px;
  font-family: Consolas, "Liberation Mono", Courier, monospace;
}

code, tt {
  margin: 0 0px;
  padding: 0px 0px;
  white-space: nowrap;
  border: 1px solid #eaeaea;
  background-color: #f8f8f8;
  border-radius: 3px;
}

pre>code {
  margin: 0;
  padding: 0;
  white-space: pre;
  border: none;
  background: transparent;
}

pre {
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  font-size: 13px;
  line-height: 19px;
  overflow: auto;
  padding: 6px 10px;
  border-radius: 3px;
}

pre code, pre tt {
  background-color: transparent;
  border: none;
}

kbd {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #DDDDDD;
    background-image: linear-gradient(#F1F1F1, #DDDDDD);
    background-repeat: repeat-x;
    border-color: #DDDDDD #CCCCCC #CCCCCC #DDDDDD;
    border-image: none;
    border-radius: 2px 2px 2px 2px;
    border-style: solid;
    border-width: 1px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    line-height: 10px;
    padding: 1px 4px;
}

/* QUOTES
=============================================================================*/

blockquote {
  border-left: 4px solid #DDD;
  padding: 0 15px;
  color: #777;
}

blockquote>:first-child {
  margin-top: 0px;
}

blockquote>:last-child {
  margin-bottom: 0px;
}

/* HORIZONTAL RULES
=============================================================================*/

hr {
  clear: both;
  margin: 15px 0;
  height: 0px;
  overflow: hidden;
  border: none;
  background: transparent;
  border-bottom: 4px solid #ddd;
  padding: 0;
}

/* TABLES
=============================================================================*/

table th {
  font-weight: bold;
}

table th, table td {
  border: 1px solid #ccc;
  padding: 6px 13px;
}

table tr {
  border-top: 1px solid #ccc;
  background-color: #fff;
}

table tr:nth-child(2n) {
  background-color: #f8f8f8;
}

/* IMAGES
=============================================================================*/

img {
  max-width: 100%
}
</style>
</head>
<body>
<h3>0. 测试服务地址</h3>
<ul>
<li><code>http://47.105.34.102</code></li>
</ul>
<h3>1. 首页</h3>
<h3>0.说明</h3>
<ul>
<li>首页的接口中，年龄段获取，推荐获取和栏目获取是否需要合并为一个接口，如需要请告知。</li>
</ul>
<h4>1. 获取年龄范围</h4>
<p><strong>简要描述：</strong> </p>
<ul>
<li>获取年龄范围</li>
</ul>
<p><strong>请求URL：</strong> </p>
<ul>
<li><code>http://47.105.34.102/child/v2/index/ages</code></li>
</ul>
<p><strong>请求方式：</strong>
- GET </p>
<p><strong>参数：</strong> </p>
<ul>
<li>无</li>
</ul>
<p><strong>返回示例</strong></p>
<pre><code>   ``` 
     {
         &quot;code&quot;: 0,   //状态码，0表示成功，1表示失败
         &quot;message&quot;: &quot;success&quot;,  //状态信息
         &quot;data&quot;: [  //数据载体
             {
                 &quot;id&quot;: 1,  //id
                 &quot;type&quot;: 0,  //年龄段编码
                 &quot;rangeName&quot;: &quot;胎教&quot; //年龄段名称
             },
             {
                 &quot;id&quot;: 2,
                 &quot;type&quot;: 1,
                 &quot;rangeName&quot;: &quot;0-1岁&quot;
             },
             {
                 &quot;id&quot;: 3,
                 &quot;type&quot;: 2,
                 &quot;rangeName&quot;: &quot;1-3岁&quot;
             },
             {
                 &quot;id&quot;: 4,
                 &quot;type&quot;: 3,
                 &quot;rangeName&quot;: &quot;3-5岁&quot;
             },
             {
                 &quot;id&quot;: 5,
                 &quot;type&quot;: 4,
                 &quot;rangeName&quot;: &quot;5-7岁&quot;
             },
             {
                 &quot;id&quot;: 6,
                 &quot;type&quot;: 5,
                 &quot;rangeName&quot;: &quot;7-12岁&quot;
             }
         ]
     }

   ```
</code></pre>

<h4>2. 栏目获取</h4>
<p><strong>简要描述：</strong> </p>
<ul>
<li>栏目获取</li>
</ul>
<p><strong>请求URL：</strong> </p>
<ul>
<li><code>http://47.105.34.102/child/v2/index/banners</code></li>
</ul>
<p><strong>请求方式：</strong></p>
<ul>
<li>GET </li>
</ul>
<p><strong>参数：</strong> </p>
<ul>
<li>无</li>
</ul>
<p><strong>返回示例</strong></p>
<pre><code>   ``` 
     {
         &quot;code&quot;: 0,
         &quot;message&quot;: &quot;success&quot;,
         &quot;data&quot;: [
             {
                 &quot;id&quot;: 15,  //id
                 &quot;name&quot;: &quot;儿歌&quot;,  //栏目名称
                 &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180105/bb156baa-2eed-411d-ac75-f6942e68c3c7.png?_upt=60827dae1562687391&quot;  //栏目图片地址
             },
             {
                 &quot;id&quot;: 16,
                 &quot;name&quot;: &quot;故事&quot;,
                 &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180105/3a73ec7c-c58c-4632-a707-2a41fae6a9fd.png?_upt=e9c5661f1562687391&quot;
             },
             {
                 &quot;id&quot;: 17,
                 &quot;name&quot;: &quot;学堂&quot;,
                 &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180105/f3650b5f-2ee4-4970-a8b9-540017427d59.png?_upt=4d991e351562687391&quot;
             }
         ]
     }

   ```
</code></pre>

<h4>3. 推荐位获取</h4>
<p><strong>简要描述：</strong> </p>
<ul>
<li>推荐位获取</li>
</ul>
<p><strong>请求URL：</strong> </p>
<ul>
<li><code>http://47.105.34.102/child/v2/index/recommends</code></li>
</ul>
<p><strong>请求方式：</strong></p>
<ul>
<li>GET </li>
</ul>
<p><strong>参数：</strong> </p>
<ul>
<li>无</li>
</ul>
<p><strong>返回示例</strong></p>
<pre><code>   ``` 
     {
         &quot;code&quot;: 0,
         &quot;message&quot;: &quot;success&quot;,
         &quot;data&quot;: [
             {
                 &quot;id&quot;: 1,  //id
                 &quot;title&quot;: &quot;猫和老鼠&quot;,  //推荐位名称
                 &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/934f2507-1f1e-4eab-81e7-64da1abd78c5.jpg?_upt=cb1d26281562687714&quot;,  //推荐位图片地址
                 &quot;albumId&quot;: 30,  //对应专辑id
                 &quot;albumName&quot;: &quot;猫和老鼠&quot;, //对应专辑名称
                 &quot;order&quot;: 1 //序号，按序号分别是：大图 -&gt; 右上图 -&gt; 右下图 -&gt; icon1 .....
             },
             {
                 &quot;id&quot;: 2,
                 &quot;title&quot;: &quot;变形警车珀利&quot;,
                 &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/5aa512f3-bb56-4487-b134-a3c9117f4145.jpg?_upt=670b13771562687714&quot;,
                 &quot;albumId&quot;: 29,
                 &quot;albumName&quot;: &quot;变形警车珀利&quot;,
                 &quot;order&quot;: 2
             },
             {
                 &quot;id&quot;: 3,
                 &quot;title&quot;: &quot;钟虫宝宝&quot;,
                 &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/29701503-e904-46a6-99d3-e4e556ac322e.jpg?_upt=467a29671562687714&quot;,
                 &quot;albumId&quot;: 28,
                 &quot;albumName&quot;: &quot;钟虫宝宝&quot;,
                 &quot;order&quot;: 3
             },
             {
                 &quot;id&quot;: 4,
                 &quot;title&quot;: &quot;唐诗&quot;,
                 &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/ec82f97b-d689-4782-b616-fa580cb8ad75.jpg?_upt=786b3f941562687714&quot;,
                 &quot;albumId&quot;: 27,
                 &quot;albumName&quot;: &quot;唐诗&quot;,
                 &quot;order&quot;: 4
             },
             {
                 &quot;id&quot;: 5,
                 &quot;title&quot;: &quot;成语故事&quot;,
                 &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/f2badb66-6dd5-4256-9338-415325ba0942.jpg?_upt=207c09791562687714&quot;,
                 &quot;albumId&quot;: 26,
                 &quot;albumName&quot;: &quot;成语故事&quot;,
                 &quot;order&quot;: 5
             },
             {
                 &quot;id&quot;: 6,
                 &quot;title&quot;: &quot;睡前故事&quot;,
                 &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/f41a2b9d-a044-45b5-b273-cc56e0818b8e.jpg?_upt=0ac182cc1562687714&quot;,
                 &quot;albumId&quot;: 25,
                 &quot;albumName&quot;: &quot;睡前故事&quot;,
                 &quot;order&quot;: 6
             },
             {
                 &quot;id&quot;: 7,
                 &quot;title&quot;: &quot;寓言故事&quot;,
                 &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/c5291313-90a3-47aa-8fe3-bae726060f55.jpg?_upt=15d8867c1562687714&quot;,
                 &quot;albumId&quot;: 24,
                 &quot;albumName&quot;: &quot;寓言故事&quot;,
                 &quot;order&quot;: 7
             },
             {
                 &quot;id&quot;: 8,
                 &quot;title&quot;: &quot;阿布故事&quot;,
                 &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/a60ebaf9-6c4b-43ca-8744-13e3378fd36b.jpg?_upt=91260dd41562687714&quot;,
                 &quot;albumId&quot;: 23,
                 &quot;albumName&quot;: &quot;阿布故事&quot;,
                 &quot;order&quot;: 8
             },
             {
                 &quot;id&quot;: 9,
                 &quot;title&quot;: &quot;舞蹈儿歌&quot;,
                 &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/34b3e3b6-1765-43cd-901c-717444474de4.jpg?_upt=5c47ad681562687714&quot;,
                 &quot;albumId&quot;: 22,
                 &quot;albumName&quot;: &quot;舞蹈儿歌&quot;,
                 &quot;order&quot;: 9
             },
             {
                 &quot;id&quot;: 10,
                 &quot;title&quot;: &quot;六一儿歌&quot;,
                 &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/2dccefb2-645c-4c90-b9a8-1a8457d1de23.jpg?_upt=a44aa7f31562687714&quot;,
                 &quot;albumId&quot;: 21,
                 &quot;albumName&quot;: &quot;六一儿歌&quot;,
                 &quot;order&quot;: 10
             },
             {
                 &quot;id&quot;: 11,
                 &quot;title&quot;: &quot;快乐律动&quot;,
                 &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/917a4f32-b28d-4974-8581-a0e1e3f272df.jpg?_upt=39c632ae1562687714&quot;,
                 &quot;albumId&quot;: 20,
                 &quot;albumName&quot;: &quot;快乐律动&quot;,
                 &quot;order&quot;: 11
             },
             {
                 &quot;id&quot;: 12,
                 &quot;title&quot;: &quot;睡前音乐&quot;,
                 &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/748d5a1c-c4dd-41a5-a0e8-86a0edfc40d4.jpg?_upt=fa9d96241562687714&quot;,
                 &quot;albumId&quot;: 19,
                 &quot;albumName&quot;: &quot;睡前音乐&quot;,
                 &quot;order&quot;: 12
             }
         ]
     }

   ``` 
</code></pre>

<h4>4. 视频排序分页列表</h4>
<p><strong>简要描述：</strong> </p>
<ul>
<li>视频排序分页列表，分页主要解决下拉加载的问题</li>
</ul>
<p><strong>请求URL：</strong> </p>
<ul>
<li><code>http://47.105.34.102/child/v2/index/videos</code></li>
</ul>
<p><strong>请求方式：</strong></p>
<ul>
<li>GET </li>
</ul>
<p><strong>参数：</strong> </p>
<table>
<thead>
<tr>
	<th align="left">参数名</th>
	<th align="left">必选</th>
	<th align="left">类型</th>
	<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
	<td align="left">ageRange</td>
	<td align="left">否</td>
	<td align="left">int</td>
	<td>年龄段编码，见接口1中返回的type</td>
</tr>
<tr>
	<td align="left">pageNo</td>
	<td align="left">否</td>
	<td align="left">int</td>
	<td>当前页号,可为空，默认为1</td>
</tr>
<tr>
	<td align="left">pageSize</td>
	<td align="left">否</td>
	<td align="left">int</td>
	<td>每页条数，就是下拉一次加载的视频数，可为空，默认6条</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>   ``` 
     {
         &quot;code&quot;: 0,
         &quot;message&quot;: &quot;success&quot;,
         &quot;data&quot;: {
             &quot;dataList&quot;: [
                 {
                     &quot;id&quot;: 133,   //id
                     &quot;name&quot;: &quot;好爸爸坏爸爸&quot;,  //视频名称
                     &quot;playCount&quot;: 2340, //播放次数
                     &quot;productName&quot;: &quot;口袋儿歌&quot;,
                     &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180504/c46d8fa0-c0a2-4ade-baaf-b0f3b8d9d087.jpg?_upt=33ac49fc1562688062&quot;,
                     &quot;downloadPath&quot;: &quot;http://erge.file.7toutiao.com/video/20180129/38a6a340-1ed4-42d9-8f7f-b51c68c54ea5.mp4?_upt=b629adf01562688062&quot;
                 },
                 {
                     &quot;id&quot;: 134,
                     &quot;name&quot;: &quot;兰花草&quot;,
                     &quot;playCount&quot;: 1654,
                     &quot;productName&quot;: &quot;口袋儿歌&quot;,
                     &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180505/6726ed9d-e156-4afc-964e-22d03dcedf3a.jpg?_upt=fdcce2d51562688062&quot;,
                     &quot;downloadPath&quot;: &quot;http://erge.file.7toutiao.com/video/20180129/a85ad3c2-0819-44f2-9315-fdc66651d3c2.mp4?_upt=5a9d08331562688062&quot;
                 },
                 {
                     &quot;id&quot;: 136,
                     &quot;name&quot;: &quot;卖报歌&quot;,
                     &quot;playCount&quot;: 1965,
                     &quot;productName&quot;: &quot;口袋儿歌&quot;,
                     &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180504/908d6c00-5083-4289-9ed2-849054952523.jpg?_upt=3bec18fd1562688062&quot;,
                     &quot;downloadPath&quot;: &quot;http://erge.file.7toutiao.com/video/20180129/424bdabb-bcf1-46fd-b499-cbb346a6b72a.mp4?_upt=6923a6db1562688062&quot;
                 },
                 {
                     &quot;id&quot;: 127,
                     &quot;name&quot;: &quot;小毛驴&quot;,
                     &quot;playCount&quot;: 1421,
                     &quot;productName&quot;: &quot;口袋儿歌&quot;,
                     &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180504/e2ddd937-cd54-4d30-839c-854afbf823f5.jpg?_upt=7e90560e1562688062&quot;,
                     &quot;downloadPath&quot;: &quot;http://erge.file.7toutiao.com/video/20180129/f188a2d6-d265-41b3-bb62-5da51f5abc15.mp4?_upt=5edabbfd1562688062&quot;
                 },
                 {
                     &quot;id&quot;: 129,
                     &quot;name&quot;: &quot;世上只有妈妈好&quot;,
                     &quot;playCount&quot;: 5032,
                     &quot;productName&quot;: &quot;口袋儿歌&quot;,
                     &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180504/ab7d47ad-e364-40a9-9343-a062a4efb8b4.jpg?_upt=07f6ea491562688062&quot;,
                     &quot;downloadPath&quot;: &quot;http://erge.file.7toutiao.com/video/20180504/4daa4298-2ec0-4908-b187-7c428203f2cd.mp4?_upt=8abbec5f1562688062&quot;
                 },
                 {
                     &quot;id&quot;: 130,
                     &quot;name&quot;: &quot;爱我你就抱抱我&quot;,
                     &quot;playCount&quot;: 1023,
                     &quot;productName&quot;: &quot;口袋儿歌&quot;,
                     &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180504/49fa80f8-f91a-462d-bd4b-e08f5f9b0973.jpg?_upt=453261411562688062&quot;,
                     &quot;downloadPath&quot;: &quot;http://erge.file.7toutiao.com/video/20180504/02dbb835-7aef-4796-ab12-9a0fb0d40ac4.mp4?_upt=5b8462c01562688062&quot;
                 }
             ],
             &quot;pageNo&quot;: 1,
             &quot;pageSize&quot;: 6,
             &quot;total&quot;: 6,
             &quot;pages&quot;: 0
         }
     }

   ```  
</code></pre>

<h3>2. 宝宝看和宝宝听首页</h3>
<h4>0. 说明</h4>
<ul>
<li>精选页包括宝宝看和宝宝听，其中宝宝看用<b>1</b>表示 ,宝宝听用0表示，这样进行精选页接口请求是即可分区数据</li>
</ul>
<h4>1.精选接口</h4>
<p><strong>简要描述：</strong> </p>
<ul>
<li>精选接口，将整个页面的数据合为了一个接口</li>
</ul>
<p><strong>请求URL：</strong> </p>
<ul>
<li><code>http://47.105.34.102/child/v2/selection</code></li>
</ul>
<p><strong>请求方式：</strong></p>
<ul>
<li>GET </li>
</ul>
<p><strong>参数：</strong> </p>
<table>
<thead>
<tr>
	<th align="left">参数名</th>
	<th align="left">必选</th>
	<th align="left">类型</th>
	<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
	<td align="left">tab</td>
	<td align="left">是</td>
	<td align="left">int</td>
	<td>宝宝看1，宝宝听0</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>   ``` 
     {
         &quot;code&quot;: 0,
         &quot;message&quot;: &quot;success&quot;,
         &quot;data&quot;: {
             &quot;albumRec&quot;: [  //精选专辑
                 {
                     &quot;id&quot;: 30,  //id，通过id进入专辑下的媒体资源列表
                     &quot;name&quot;: &quot;猫和老鼠&quot;, //专辑名称
                     &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/934f2507-1f1e-4eab-81e7-64da1abd78c5.jpg?_upt=f72d3dd11562766058&quot;, //图标地址
                     &quot;playCount&quot;: 65027  //播放总次数
                 },
                 {
                     &quot;id&quot;: 18,
                     &quot;name&quot;: &quot;经典儿歌&quot;,
                     &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180121/e3ed37b3-1725-43b8-a5e9-c6482fcd8842.jpg?_upt=4f2ed38e1562766058&quot;,
                     &quot;playCount&quot;: 80759
                 },
                 {
                     &quot;id&quot;: 19,
                     &quot;name&quot;: &quot;睡前音乐&quot;,
                     &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/748d5a1c-c4dd-41a5-a0e8-86a0edfc40d4.jpg?_upt=a1bf7b5b1562766058&quot;,
                     &quot;playCount&quot;: 84554
                 },
                 {
                     &quot;id&quot;: 20,
                     &quot;name&quot;: &quot;快乐律动&quot;,
                     &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/917a4f32-b28d-4974-8581-a0e1e3f272df.jpg?_upt=836fc0001562766058&quot;,
                     &quot;playCount&quot;: 97682
                 },
                 {
                     &quot;id&quot;: 21,
                     &quot;name&quot;: &quot;六一儿歌&quot;,
                     &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/2dccefb2-645c-4c90-b9a8-1a8457d1de23.jpg?_upt=9fd064cc1562766058&quot;,
                     &quot;playCount&quot;: 50005
                 },
                 {
                     &quot;id&quot;: 22,
                     &quot;name&quot;: &quot;舞蹈儿歌&quot;,
                     &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/34b3e3b6-1765-43cd-901c-717444474de4.jpg?_upt=9329cfae1562766058&quot;,
                     &quot;playCount&quot;: 81953
                 }
             ],
             &quot;banner&quot;: [  //栏目
                 {
                     &quot;id&quot;: 11, //id，通过该id进入栏目下的专辑列表
                     &quot;name&quot;: &quot;儿歌&quot;, //栏目名称
                     &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180105/bb156baa-2eed-411d-ac75-f6942e68c3c7.png?_upt=70cffd211562766058&quot;  //栏目图标
                 },
                 {
                     &quot;id&quot;: 12,
                     &quot;name&quot;: &quot;故事&quot;,
                     &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180105/3a73ec7c-c58c-4632-a707-2a41fae6a9fd.png?_upt=5be0cad51562766058&quot;
                 },
                 {
                     &quot;id&quot;: 13,
                     &quot;name&quot;: &quot;学堂&quot;,
                     &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180105/f3650b5f-2ee4-4970-a8b9-540017427d59.png?_upt=de5d65e51562766058&quot;
                 },
                 {
                     &quot;id&quot;: 14,
                     &quot;name&quot;: &quot;动画&quot;,
                     &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180105/49ae605d-c604-46e1-b6df-ca732f03ceb0.png?_upt=945c4f6a1562766058&quot;
                 }
             ],
             &quot;recommend&quot;: [  //三个推荐位
                 {
                     &quot;id&quot;: 1,  //id
                     &quot;title&quot;: &quot;猫和老鼠&quot;, //推荐位标题
                     &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/934f2507-1f1e-4eab-81e7-64da1abd78c5.jpg?_upt=f72d3dd11562766058&quot;, //推荐位图标
                     &quot;albumId&quot;: 30, //专辑id，通过该id点击进入专辑列表
                     &quot;albumName&quot;: &quot;猫和老鼠&quot;, //专辑名称
                     &quot;order&quot;: 1
                 },
                 {
                     &quot;id&quot;: 2,
                     &quot;title&quot;: &quot;变形警车珀利&quot;,
                     &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/5aa512f3-bb56-4487-b134-a3c9117f4145.jpg?_upt=04d2b8a41562766058&quot;,
                     &quot;albumId&quot;: 29,
                     &quot;albumName&quot;: &quot;变形警车珀利&quot;,
                     &quot;order&quot;: 2
                 },
                 {
                     &quot;id&quot;: 3,
                     &quot;title&quot;: &quot;钟虫宝宝&quot;,
                     &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/29701503-e904-46a6-99d3-e4e556ac322e.jpg?_upt=39cb0f4f1562766058&quot;,
                     &quot;albumId&quot;: 28,
                     &quot;albumName&quot;: &quot;钟虫宝宝&quot;,
                     &quot;order&quot;: 3
                 }
             ],
             &quot;bannerAndAlbum&quot;: [  //栏目和专辑的组合
                 { 
                     &quot;id&quot;: 11,  //栏目id，通过点击更多进入该栏目
                     &quot;name&quot;: &quot;儿歌&quot;,  //栏目名称
                     &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180105/bb156baa-2eed-411d-ac75-f6942e68c3c7.png?_upt=70cffd211562766058&quot;, //栏目图标
                     &quot;albumList&quot;: [  //栏目下的优选专辑，估计就展示几个吧
                         {
                             &quot;id&quot;: 16, //专辑id
                             &quot;name&quot;: &quot;钢琴音乐&quot;,  //专辑名称
                             &quot;iconPath&quot;: &quot;/images/20180107/391b2ac0-8d3c-41fc-b682-38b0d99d2ad1.jpg&quot;  //专辑图标
                         },
                         {
                             &quot;id&quot;: 18,
                             &quot;name&quot;: &quot;经典儿歌&quot;,
                             &quot;iconPath&quot;: &quot;/images/20180121/e3ed37b3-1725-43b8-a5e9-c6482fcd8842.jpg&quot;
                         },
                         {
                             &quot;id&quot;: 19,
                             &quot;name&quot;: &quot;睡前音乐&quot;,
                             &quot;iconPath&quot;: &quot;/images/20180209/748d5a1c-c4dd-41a5-a0e8-86a0edfc40d4.jpg&quot;
                         },
                         {
                             &quot;id&quot;: 20,
                             &quot;name&quot;: &quot;快乐律动&quot;,
                             &quot;iconPath&quot;: &quot;/images/20180209/917a4f32-b28d-4974-8581-a0e1e3f272df.jpg&quot;
                         }
                     ]
                 },
                 {
                     &quot;id&quot;: 12,
                     &quot;name&quot;: &quot;故事&quot;,
                     &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180105/3a73ec7c-c58c-4632-a707-2a41fae6a9fd.png?_upt=5be0cad51562766058&quot;,
                     &quot;albumList&quot;: [
                         {
                             &quot;id&quot;: 17,
                             &quot;name&quot;: &quot;经典故事&quot;,
                             &quot;iconPath&quot;: &quot;/images/20180117/6cf06b62-ea80-46fe-b1c4-ec6a88bd81cf.jpg&quot;
                         },
                         {
                             &quot;id&quot;: 23,
                             &quot;name&quot;: &quot;阿布故事&quot;,
                             &quot;iconPath&quot;: &quot;/images/20180209/a60ebaf9-6c4b-43ca-8744-13e3378fd36b.jpg&quot;
                         },
                         {
                             &quot;id&quot;: 24,
                             &quot;name&quot;: &quot;寓言故事&quot;,
                             &quot;iconPath&quot;: &quot;/images/20180209/c5291313-90a3-47aa-8fe3-bae726060f55.jpg&quot;
                         },
                         {
                             &quot;id&quot;: 25,
                             &quot;name&quot;: &quot;睡前故事&quot;,
                             &quot;iconPath&quot;: &quot;/images/20180209/f41a2b9d-a044-45b5-b273-cc56e0818b8e.jpg&quot;
                         }
                     ]
                 },
                 {
                     &quot;id&quot;: 13,
                     &quot;name&quot;: &quot;学堂&quot;,
                     &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180105/f3650b5f-2ee4-4970-a8b9-540017427d59.png?_upt=de5d65e51562766058&quot;,
                     &quot;albumList&quot;: [
                         {
                             &quot;id&quot;: 27,
                             &quot;name&quot;: &quot;唐诗&quot;,
                             &quot;iconPath&quot;: &quot;/images/20180209/ec82f97b-d689-4782-b616-fa580cb8ad75.jpg&quot;
                         }
                     ]
                 },
                 {
                     &quot;id&quot;: 14,
                     &quot;name&quot;: &quot;动画&quot;,
                     &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180105/49ae605d-c604-46e1-b6df-ca732f03ceb0.png?_upt=945c4f6a1562766058&quot;,
                     &quot;albumList&quot;: [
                         {
                             &quot;id&quot;: 28,
                             &quot;name&quot;: &quot;钟虫宝宝&quot;,
                             &quot;iconPath&quot;: &quot;/images/20180209/29701503-e904-46a6-99d3-e4e556ac322e.jpg&quot;
                         },
                         {
                             &quot;id&quot;: 29,
                             &quot;name&quot;: &quot;变形警车珀利&quot;,
                             &quot;iconPath&quot;: &quot;/images/20180209/5aa512f3-bb56-4487-b134-a3c9117f4145.jpg&quot;
                         },
                         {
                             &quot;id&quot;: 30,
                             &quot;name&quot;: &quot;猫和老鼠&quot;,
                             &quot;iconPath&quot;: &quot;/images/20180209/934f2507-1f1e-4eab-81e7-64da1abd78c5.jpg&quot;
                         }
                     ]
                 }
             ]
         }
     }

   ```  
</code></pre>

<h3>3. 栏目，专辑，视频等操作接口</h3>
<h4>1. 栏目下的专辑分页列表</h4>
<p><strong>简要描述：</strong> </p>
<ul>
<li>栏目下的专辑分页列表</li>
</ul>
<p><strong>请求URL：</strong> </p>
<ul>
<li><code>http://47.105.34.102/child/v2/banner/albums</code></li>
</ul>
<p><strong>请求方式：</strong></p>
<ul>
<li>GET </li>
</ul>
<p><strong>参数：</strong> </p>
<table>
<thead>
<tr>
	<th align="left">参数名</th>
	<th align="left">必选</th>
	<th align="left">类型</th>
	<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
	<td align="left">bannerId</td>
	<td align="left">是</td>
	<td align="left">int</td>
	<td>栏目id</td>
</tr>
<tr>
	<td align="left">pageNo</td>
	<td align="left">否</td>
	<td align="left">int</td>
	<td>当前页号，默认1，可为空</td>
</tr>
<tr>
	<td align="left">pageNo</td>
	<td align="left">否</td>
	<td align="left">int</td>
	<td>每页条数，默认6，可为空</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>   ``` 
     {
         &quot;code&quot;: 0,
         &quot;message&quot;: &quot;success&quot;,
         &quot;data&quot;: {
             &quot;dataList&quot;: [
                 {
                     &quot;id&quot;: 26, //id
                     &quot;name&quot;: &quot;成语故事&quot;, //名称
                     &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/f2badb66-6dd5-4256-9338-415325ba0942.jpg?_upt=6726b6301562766922&quot;,
                     &quot;intro&quot;: &quot;4个字的故事&quot; //专辑简介
                 },
                 {
                     &quot;id&quot;: 25,
                     &quot;name&quot;: &quot;睡前故事&quot;,
                     &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/f41a2b9d-a044-45b5-b273-cc56e0818b8e.jpg?_upt=66e663b31562766922&quot;,
                     &quot;intro&quot;: &quot;睡前故事&quot;
                 },
                 {
                     &quot;id&quot;: 24,
                     &quot;name&quot;: &quot;寓言故事&quot;,
                     &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/c5291313-90a3-47aa-8fe3-bae726060f55.jpg?_upt=d199d5fa1562766922&quot;,
                     &quot;intro&quot;: &quot;寓言故事&quot;
                 },
                 {
                     &quot;id&quot;: 23,
                     &quot;name&quot;: &quot;阿布故事&quot;,
                     &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/a60ebaf9-6c4b-43ca-8744-13e3378fd36b.jpg?_upt=7c6f3ec91562766922&quot;,
                     &quot;intro&quot;: &quot;晚安之前的问候，陪伴宝宝入梦&quot;
                 },
                 {
                     &quot;id&quot;: 17,
                     &quot;name&quot;: &quot;经典故事&quot;,
                     &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180117/6cf06b62-ea80-46fe-b1c4-ec6a88bd81cf.jpg?_upt=4af131a61562766922&quot;,
                     &quot;intro&quot;: &quot;幼儿经典童话故事大全&quot;
                 }
             ],
             &quot;pageNo&quot;: 1,
             &quot;pageSize&quot;: 6,
             &quot;total&quot;: 5,
             &quot;pages&quot;: 1
         }
     }

   ```     
</code></pre>

<h4>2.点击专辑之后，得到专辑的基本信息</h4>
<p><strong>简要描述：</strong> </p>
<ul>
<li>点击专辑之后，得到专辑的基本信息</li>
</ul>
<p><strong>请求URL：</strong> </p>
<ul>
<li><code>http://47.105.34.102/child/v2/album/detail</code></li>
</ul>
<p><strong>请求方式：</strong></p>
<ul>
<li>GET </li>
</ul>
<p><strong>参数：</strong> </p>
<table>
<thead>
<tr>
	<th align="left">参数名</th>
	<th align="left">必选</th>
	<th align="left">类型</th>
	<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
	<td align="left">albumId</td>
	<td align="left">是</td>
	<td align="left">int</td>
	<td>专辑id</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>   ``` 
     {
         &quot;code&quot;: 0,
         &quot;message&quot;: &quot;success&quot;,
         &quot;data&quot;: {
             &quot;id&quot;: 23, //id
             &quot;name&quot;: &quot;阿布故事&quot;, //名称
             &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/a60ebaf9-6c4b-43ca-8744-13e3378fd36b.jpg?_upt=8cef1e381562767130&quot;,
             &quot;intro&quot;: &quot;晚安之前的问候，陪伴宝宝入梦&quot;,  //简介
             &quot;playCount&quot;: 77382 //播放总次数
         }
     }

   ```     
</code></pre>

<h4>3.点击专辑之后，得到专辑下视频的分页列表</h4>
<p><strong>简要描述：</strong> </p>
<ul>
<li>点击专辑之后，得到专辑下视频的分页列表</li>
</ul>
<p><strong>请求URL：</strong> </p>
<ul>
<li><code>http://47.105.34.102/child/v2/album/medias</code></li>
</ul>
<p><strong>请求方式：</strong></p>
<ul>
<li>GET </li>
</ul>
<p><strong>参数：</strong> </p>
<table>
<thead>
<tr>
	<th align="left">参数名</th>
	<th align="left">必选</th>
	<th align="left">类型</th>
	<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
	<td align="left">albumId</td>
	<td align="left">是</td>
	<td align="left">int</td>
	<td>专辑id</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>   ``` 
     {
         &quot;code&quot;: 0,
         &quot;message&quot;: &quot;success&quot;,
         &quot;data&quot;: {
             &quot;dataList&quot;: [
                 {
                     &quot;id&quot;: 255, //资源id
                     &quot;name&quot;: &quot;龟兔赛跑&quot;, //
                     &quot;playCount&quot;: 2542,
                     &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180505/d37be5f0-69a5-47a8-b61f-e7dc54942089.jpg?_upt=d106b32d1562767231&quot;,
                     &quot;playPath&quot;: &quot;http://erge.file.7toutiao.com/video/20180505/3d2e3a13-2f1f-4872-bd45-9c342af4e7ed.mp4&quot;,
                     &quot;type&quot;: &quot;故事&quot;
                 },
                 {
                     &quot;id&quot;: 256,
                     &quot;name&quot;: &quot;熟能生巧&quot;,
                     &quot;playCount&quot;: 1230,
                     &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180505/02f21b17-79b4-4481-838f-e09e702f6ca1.jpg?_upt=6be80a0c1562767231&quot;,
                     &quot;playPath&quot;: &quot;http://erge.file.7toutiao.com/video/20180505/c5f9a0fc-31cd-4033-9f4c-570baa8ace2a.mp4&quot;,
                     &quot;type&quot;: &quot;故事&quot;
                 },
                 {
                     &quot;id&quot;: 257,
                     &quot;name&quot;: &quot;愚公移山&quot;,
                     &quot;playCount&quot;: 2013,
                     &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180505/dd696e6e-3bd4-4d20-a7a5-fbffa789e20a.jpg?_upt=6b6455411562767231&quot;,
                     &quot;playPath&quot;: &quot;http://erge.file.7toutiao.com/video/20180505/2515948b-1a01-4139-a823-8701b91fce63.mp4&quot;,
                     &quot;type&quot;: &quot;故事&quot;
                 },
                 {
                     &quot;id&quot;: 258,
                     &quot;name&quot;: &quot;盲人摸象&quot;,
                     &quot;playCount&quot;: 2503,
                     &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180505/7197256f-253d-4a95-9f49-29b22700f386.jpg?_upt=55df32ae1562767231&quot;,
                     &quot;playPath&quot;: &quot;http://erge.file.7toutiao.com/video/20180505/a238bf9b-2dc6-4173-bebd-861e85731ffd.mp4&quot;,
                     &quot;type&quot;: &quot;故事&quot;
                 },
                 {
                     &quot;id&quot;: 259,
                     &quot;name&quot;: &quot;惊弓之鸟&quot;,
                     &quot;playCount&quot;: 3456,
                     &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180505/bff74404-5b12-4434-9d7b-a9a800adfcb5.jpg?_upt=498df5cf1562767231&quot;,
                     &quot;playPath&quot;: &quot;http://erge.file.7toutiao.com/video/20180505/3d85fd93-a00f-4285-b05d-7e4d88fe1498.mp4&quot;,
                     &quot;type&quot;: &quot;故事&quot;
                 },
                 {
                     &quot;id&quot;: 264,
                     &quot;name&quot;: &quot;小猫钓鱼&quot;,
                     &quot;playCount&quot;: 1200,
                     &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180506/aa4c064e-4f32-4531-81c0-55b8504872ce.jpg?_upt=560987681562767231&quot;,
                     &quot;playPath&quot;: &quot;http://erge.file.7toutiao.com/video/20180506/629fbc50-e8ab-416d-9c20-83c0d6ce2af9.mp4&quot;,
                     &quot;type&quot;: &quot;故事&quot;
                 }
             ],
             &quot;pageNo&quot;: 1,
             &quot;pageSize&quot;: 6,
             &quot;total&quot;: 22,
             &quot;pages&quot;: 4
         }
     }

   ```  
</code></pre>

<h4>4.寻找相似的专辑</h4>
<p><strong>简要描述：</strong> </p>
<ul>
<li>在专辑下的找相似功能</li>
</ul>
<p><strong>请求URL：</strong> </p>
<ul>
<li><code>http://47.105.34.102/child/v2/album/similar</code></li>
</ul>
<p><strong>请求方式：</strong></p>
<ul>
<li>GET </li>
</ul>
<p><strong>参数：</strong> </p>
<table>
<thead>
<tr>
	<th align="left">参数名</th>
	<th align="left">必选</th>
	<th align="left">类型</th>
	<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
	<td align="left">albumId</td>
	<td align="left">是</td>
	<td align="left">int</td>
	<td>专辑id</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>   ``` 
     {
         &quot;code&quot;: 0,
         &quot;message&quot;: &quot;success&quot;,
         &quot;data&quot;: [
             {
                 &quot;id&quot;: 25,  //专辑id
                 &quot;name&quot;: &quot;睡前故事&quot;, //名称
                 &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/f41a2b9d-a044-45b5-b273-cc56e0818b8e.jpg?_upt=a188dc741562773089&quot;,
                 &quot;intro&quot;: &quot;睡前故事&quot; //简介
             },
             {
                 &quot;id&quot;: 24,
                 &quot;name&quot;: &quot;寓言故事&quot;,
                 &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/c5291313-90a3-47aa-8fe3-bae726060f55.jpg?_upt=9d2f3a381562773089&quot;,
                 &quot;intro&quot;: &quot;寓言故事&quot;
             },
             {
                 &quot;id&quot;: 23,
                 &quot;name&quot;: &quot;阿布故事&quot;,
                 &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180209/a60ebaf9-6c4b-43ca-8744-13e3378fd36b.jpg?_upt=56fb805f1562773089&quot;,
                 &quot;intro&quot;: &quot;晚安之前的问候，陪伴宝宝入梦&quot;
             },
             {
                 &quot;id&quot;: 17,
                 &quot;name&quot;: &quot;经典故事&quot;,
                 &quot;iconPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180117/6cf06b62-ea80-46fe-b1c4-ec6a88bd81cf.jpg?_upt=914d4b011562773089&quot;,
                 &quot;intro&quot;: &quot;幼儿经典童话故事大全&quot;
             }
         ]
     }

   ```
</code></pre>

<h4>5.播放时，资源地址加token</h4>
<p><strong>简要描述：</strong> </p>
<ul>
<li>播放时，资源地址加token  </li>
</ul>
<p><strong>请求URL：</strong> </p>
<ul>
<li><code>http://47.105.34.102/child/v2/play/address</code></li>
</ul>
<p><strong>请求方式：</strong></p>
<ul>
<li>GET </li>
</ul>
<p><strong>参数：</strong> </p>
<table>
<thead>
<tr>
	<th align="left">参数名</th>
	<th align="left">必选</th>
	<th align="left">类型</th>
	<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
	<td align="left">playPath</td>
	<td align="left">是</td>
	<td align="left">string</td>
	<td>未加token参数的播放地址</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>   ``` 
     {
         &quot;code&quot;: 0,
         &quot;message&quot;: &quot;success&quot;,
         &quot;data&quot;: {
             &quot;playAddress&quot;: &quot;http://erge.file.7toutiao.com/video/20180505/3d2e3a13-2f1f-4872-bd45-9c342af4e7ed.mp4?_upt=0d6247e21562773478&quot;  //得到授权参数的地址
         }
     }

   ```  
</code></pre>

<h3>4. 搜索接口</h3>
<h4>1.热门搜索</h4>
<p><strong>简要描述：</strong> </p>
<ul>
<li>展示10组高播放量的资源名称，供搜索使用</li>
</ul>
<p><strong>请求URL：</strong> </p>
<ul>
<li><code>http://47.105.34.102/child/v2/search/hot</code></li>
</ul>
<p><strong>请求方式：</strong></p>
<ul>
<li>GET </li>
</ul>
<p><strong>参数：</strong> </p>
<ul>
<li>无</li>
</ul>
<p><strong>返回示例</strong></p>
<pre><code>   ``` 
     {
         &quot;code&quot;: 0,
         &quot;message&quot;: &quot;success&quot;,
         &quot;data&quot;: [
             {
                 &quot;name&quot;: &quot;恭喜恭喜&quot;
             },
             {
                 &quot;name&quot;: &quot;娃哈哈&quot;
             },
             {
                 &quot;name&quot;: &quot;洋娃娃和小熊跳舞&quot;
             },
             {
                 &quot;name&quot;: &quot;稍息立正站好&quot;
             },
             {
                 &quot;name&quot;: &quot;字母歌&quot;
             },
             {
                 &quot;name&quot;: &quot;哆来咪&quot;
             },
             {
                 &quot;name&quot;: &quot;学习雷锋好榜样&quot;
             },
             {
                 &quot;name&quot;: &quot;蓝精灵&quot;
             },
             {
                 &quot;name&quot;: &quot;四季童谣&quot;
             },
             {
                 &quot;name&quot;: &quot;小叮当&quot;
             }
         ]
     }
  ```
</code></pre>

<h4>2.搜索</h4>
<p><strong>简要描述：</strong> </p>
<ul>
<li>通过关键字搜搜视频里列表</li>
</ul>
<p><strong>请求URL：</strong> </p>
<ul>
<li><code>http://47.105.34.102/child/v2/search</code></li>
</ul>
<p><strong>请求方式：</strong></p>
<ul>
<li>GET </li>
</ul>
<p><strong>参数：</strong> </p>
<table>
<thead>
<tr>
	<th align="left">参数名</th>
	<th align="left">必选</th>
	<th align="left">类型</th>
	<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
	<td align="left">keyword</td>
	<td align="left">否</td>
	<td align="left">string</td>
	<td>视频名称关键字</td>
</tr>
<tr>
	<td align="left">pageNo</td>
	<td align="left">否</td>
	<td align="left">int</td>
	<td>当前页号，默认1，可为空</td>
</tr>
<tr>
	<td align="left">pageSize</td>
	<td align="left">否</td>
	<td align="left">int</td>
	<td>每页条数，默认6，可为空</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>   ``` 
     {
         &quot;code&quot;: 0,
         &quot;message&quot;: &quot;success&quot;,
         &quot;data&quot;: {
             &quot;dataList&quot;: [
                 {
                     &quot;id&quot;: 160, //id
                     &quot;name&quot;: &quot;黑猫警长&quot;, //名称
                     &quot;filePath&quot;: &quot;http://erge.file.7toutiao.com/video/20180129/a90f18c4-7e5b-4146-bc59-2565bc4fadf8.mp4&quot;, //资源原地址
                     &quot;logoPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180505/11db5456-ccad-4021-b888-0dce8178aa7e.jpg?_upt=49025a441562741654&quot;, //资源图片
                     &quot;playCount&quot;: 50006, //播放次数
                     &quot;shareCount&quot;: 36, //分享次数
                     &quot;downloadCount&quot;: 113, //现在次数
                     &quot;ageType&quot;: 1, //年龄段
                     &quot;rating&quot;: 5, //推荐指数
                     &quot;resType&quot;: 1 //资源类型，决定用什么播放器，1表示视频，0表示音频
                 },
                 {
                     &quot;id&quot;: 160,
                     &quot;name&quot;: &quot;黑猫警长&quot;,
                     &quot;filePath&quot;: &quot;http://erge.file.7toutiao.com/video/20180129/a90f18c4-7e5b-4146-bc59-2565bc4fadf8.mp4&quot;,
                     &quot;logoPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180505/11db5456-ccad-4021-b888-0dce8178aa7e.jpg?_upt=49025a441562741654&quot;,
                     &quot;playCount&quot;: 54109,
                     &quot;shareCount&quot;: 38,
                     &quot;downloadCount&quot;: 131,
                     &quot;ageType&quot;: 2,
                     &quot;rating&quot;: 5,
                     &quot;resType&quot;: 1
                 },
                 {
                     &quot;id&quot;: 160,
                     &quot;name&quot;: &quot;黑猫警长&quot;,
                     &quot;filePath&quot;: &quot;http://erge.file.7toutiao.com/video/20180129/a90f18c4-7e5b-4146-bc59-2565bc4fadf8.mp4&quot;,
                     &quot;logoPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180505/11db5456-ccad-4021-b888-0dce8178aa7e.jpg?_upt=49025a441562741654&quot;,
                     &quot;playCount&quot;: 53399,
                     &quot;shareCount&quot;: 35,
                     &quot;downloadCount&quot;: 149,
                     &quot;ageType&quot;: 3,
                     &quot;rating&quot;: 5,
                     &quot;resType&quot;: 1
                 },
                 {
                     &quot;id&quot;: 264,
                     &quot;name&quot;: &quot;小猫钓鱼&quot;,
                     &quot;filePath&quot;: &quot;http://erge.file.7toutiao.com/video/20180506/629fbc50-e8ab-416d-9c20-83c0d6ce2af9.mp4&quot;,
                     &quot;logoPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180506/aa4c064e-4f32-4531-81c0-55b8504872ce.jpg?_upt=c661d2c61562741654&quot;,
                     &quot;playCount&quot;: 52838,
                     &quot;shareCount&quot;: 42,
                     &quot;downloadCount&quot;: 116,
                     &quot;ageType&quot;: 2,
                     &quot;rating&quot;: 5,
                     &quot;resType&quot;: 1
                 },
                 {
                     &quot;id&quot;: 264,
                     &quot;name&quot;: &quot;小猫钓鱼&quot;,
                     &quot;filePath&quot;: &quot;http://erge.file.7toutiao.com/video/20180506/629fbc50-e8ab-416d-9c20-83c0d6ce2af9.mp4&quot;,
                     &quot;logoPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180506/aa4c064e-4f32-4531-81c0-55b8504872ce.jpg?_upt=c661d2c61562741654&quot;,
                     &quot;playCount&quot;: 53938,
                     &quot;shareCount&quot;: 35,
                     &quot;downloadCount&quot;: 114,
                     &quot;ageType&quot;: 3,
                     &quot;rating&quot;: 5,
                     &quot;resType&quot;: 1
                 },
                 {
                     &quot;id&quot;: 274,
                     &quot;name&quot;: &quot;小花猫种鱼&quot;,
                     &quot;filePath&quot;: &quot;http://erge.file.7toutiao.com/video/20180506/a42a005a-3f0b-483e-95a1-2e8bba9f67cc.mp4&quot;,
                     &quot;logoPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180506/9d1ee81b-8cc9-496c-9fc2-4f6599e33ed9.jpg?_upt=d3bc01fa1562741654&quot;,
                     &quot;playCount&quot;: 54634,
                     &quot;shareCount&quot;: 43,
                     &quot;downloadCount&quot;: 100,
                     &quot;ageType&quot;: 2,
                     &quot;rating&quot;: 5,
                     &quot;resType&quot;: 1
                 }
             ],
             &quot;pageNo&quot;: 1,
             &quot;pageSize&quot;: 6,
             &quot;total&quot;: 19,
             &quot;pages&quot;: 4
         }
     }
  ``` 
</code></pre>

<h3>5.用户接口（同旧版本）</h3>
<h4>1.注册</h4>
<p><strong>url：</strong> </p>
<ul>
<li><code>http://47.105.34.102/child/register</code></li>
</ul>
<p><strong>请求方式：</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数：</strong></p>
<table>
<thead>
<tr>
	<th align="left">参数名</th>
	<th align="left">必选</th>
	<th align="left">类型</th>
	<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
	<td align="left">phoneNum</td>
	<td align="left">是</td>
	<td align="left">string</td>
	<td>手机号，不能为空,有手机号正则校验</td>
</tr>
<tr>
	<td align="left">password</td>
	<td align="left">是</td>
	<td align="left">string</td>
	<td>密码不能为空，至少6位</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>    {
        &quot;code&quot;: 0,
        &quot;message&quot;: &quot;success&quot;,
        &quot;data&quot;:{
            &quot;token&quot;: &quot;eyJhbGciOiJIUzUxMiJ9.eyJyYW5kb21LZXkiOiI2aHFtbWkiLCJzdWIiOiIyMDAwNSIsImV4cCI6MTUxNzcwODkxOCwiaWF0IjoxNTE1MTE2OTE4fQ.V4O1KoMOJF9D_Kzh7Q8dprBbVaarexr9i-SkEEopvga3GQNJ5irGRaH0Rlc3-THYARbB81fEgUbNVS1S-xBQNw&quot;,
            &quot;randomKey&quot;: &quot;6hqmmi&quot;
        }
    }
</code></pre>

<h4>2.登录\认证</h4>
<p><strong>uri：</strong></p>
<ul>
<li><code>http://47.105.34.102/child/auth</code></li>
</ul>
<p><strong>请求方式：</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong></p>
<table>
<thead>
<tr>
	<th align="left">参数名</th>
	<th align="left">必选</th>
	<th align="left">类型</th>
	<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
	<td align="left">credenceName</td>
	<td align="left">是</td>
	<td align="left">string</td>
	<td>手机号/三方账号</td>
</tr>
<tr>
	<td align="left">credenceCode</td>
	<td align="left">是</td>
	<td align="left">string</td>
	<td>密码/第三方认证码</td>
</tr>
<tr>
	<td align="left">credenceType</td>
	<td align="left">是</td>
	<td align="left">string</td>
	<td>认证方式，phone/wechat/qq，现在只有手机号，传phone即可</td>
</tr>
</tbody>
</table>
<p><strong>返回示例:</strong>    </p>
<pre><code>    {
        &quot;code&quot;: 0,
        &quot;message&quot;: &quot;success&quot;,
        &quot;data&quot;:{
            &quot;token&quot;: &quot;eyJhbGciOiJIUzUxMiJ9.eyJyYW5kb21LZXkiOiJub3NmOW0iLCJzdWIiOiIyMDAwNSIsImV4cCI6MTUxNzczNDM5NiwiaWF0IjoxNTE1MTQyMzk2fQ.fKvZUV2r4El4Xe4ocoJAoHgaQQTedhd8AWaXdTrY296qD6AK-EtamBVCm9JDFS1Z4oX8Oz61xLs7BpYZioLhEQ&quot;,
            &quot;randomKey&quot;: &quot;nosf9m&quot;
        }   
    }
</code></pre>

<h4>3.得到用户信息</h4>
<p><strong>uri:</strong></p>
<ul>
<li><code>http://47.105.34.102/child/user/info</code></li>
</ul>
<p><strong>请求方式：</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong></p>
<ul>
<li>无</li>
</ul>
<p><strong>header(同JWT):</strong></p>
<ul>
<li>Authorization:Bearer token,例如:Bearer eyJhbGciOiJIUzUxMiJ9.eyJyYW5kb21LZXkiOiJwcHd1aG8iLCJzdWIiOiIyMDAwNSIsImV4cCI6MTUxNzczNDAxOSwiaWF0IjoxNTE1MTQyMDE5fQ._vWIuMdmZErQ92pWb8foGg_49Ax8nOXnTjqVodD01wDke9Hnn8i1h1eDZMVyVCMNYWGsbfOBEMm85xQHMzRsJA</li>
</ul>
<p><strong>返回示例:</strong></p>
<pre><code>    {
        &quot;code&quot;: 0,
        &quot;message&quot;: &quot;success&quot;,
        &quot;data&quot;:{
            &quot;id&quot;: 20005,
            &quot;nickName&quot;: &quot;张三&quot;,
            &quot;avatar&quot;: &quot;http://erge.7toutiao.com/images/20180105/d76fb872-1244-4a1e-a7c7-211f535086df.jpg?_upt=2e20e94c1515142784589&quot;,
            &quot;phone&quot;: &quot;13623564561&quot;,
            &quot;registerDate&quot;: 1515081600000
        }
    }
</code></pre>

<h4>4.更新用户信息（昵称和手机号绑定）</h4>
<p><strong>uri:</strong></p>
<ul>
<li><code>http://47.105.34.102/child/user/update</code></li>
</ul>
<p><strong>请求方式：</strong></p>
<ul>
<li>POST      </li>
</ul>
<p><strong>参数:</strong></p>
<table>
<thead>
<tr>
	<th align="left">参数名</th>
	<th align="left">必选</th>
	<th align="left">类型</th>
	<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
	<td align="left">content</td>
	<td align="left">是</td>
	<td align="left">string</td>
	<td>要修改的内容（手机号/昵称）</td>
</tr>
<tr>
	<td align="left">type</td>
	<td align="left">是</td>
	<td align="left">string</td>
	<td>phone/nickName,需要修改的类型</td>
</tr>
</tbody>
</table>
<p><strong>header:</strong></p>
<ul>
<li>Authorization:Bearer token</li>
</ul>
<p><strong>返回示例:</strong></p>
<pre><code>    {
        &quot;code&quot;: 0,
        &quot;message&quot;: &quot;update success&quot;
    }
</code></pre>

<h4>5.上传头像</h4>
<p><strong>uri:</strong></p>
<ul>
<li><code>http://47.105.34.102/child/user/updateAvatar</code></li>
</ul>
<p><strong>请求方式：</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>参数:</strong></p>
<table>
<thead>
<tr>
	<th align="left">参数名</th>
	<th align="left">必选</th>
	<th align="left">类型</th>
	<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
	<td align="left">avatar</td>
	<td align="left">是</td>
	<td align="left">string</td>
	<td>头像文件(这里需要使用http form表单的提交方式)</td>
</tr>
</tbody>
</table>
<p><strong>header:</strong></p>
<ul>
<li>
<p>Content-Type:multipart/form-data</p>
</li>
<li>
<p>Authorization: Bearer token</p>
</li>
</ul>
<p><strong>数据示例:</strong></p>
<pre><code>    {
        &quot;code&quot;: 0,
        &quot;message&quot;: &quot;update success&quot;,
        &quot;data&quot;:{
            &quot;avatarUrl&quot;: &quot;http://erge.7toutiao.com/images/20180105/1a971653-e13e-43fc-8348-c08679e430d8.jpg?_upt=4fe2b7b61515143648117&quot;
        }
    }
</code></pre>

<h4>6.更新token</h4>
<p><strong>简述:</strong></p>
<ul>
<li>
<p>app启动的时候更新，app也可以自己设置token更新的间隔时间（定时请求,经常换有利于安全）</p>
</li>
<li>
<p>app本地有token，可以去校验，如果已过期会给过期提示，如果没过期，则返回新的token</p>
</li>
</ul>
<p><strong>uri:</strong></p>
<ul>
<li><code>http://47.105.34.102/child/user/updateToken</code></li>
</ul>
<p><strong>请求方式：</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>参数:</strong></p>
<ul>
<li>无</li>
</ul>
<p><strong>header:</strong></p>
<ul>
<li>Authorization: Bearer token</li>
</ul>
<p><strong>返回示例:</strong></p>
<pre><code>    {
        &quot;code&quot;: 0,
        &quot;message&quot;: &quot;success&quot;,
        &quot;data&quot;:{
            &quot;token&quot;: &quot;eyJhbGciOiJIUzUxMiJ9.eyJyYW5kb21LZXkiOiI5NHZ5bjMiLCJzdWIiOiIyMDAwNSIsImV4cCI6MTUxNzczNzk2MiwiaWF0IjoxNTE1MTQ1OTYyfQ.MOd7V1aJX5xHyxxIcCRqlll2hN8GaP_h1woNhy9tD3RF1lrnpYsGavrFagLc0Fj_D7EqB9pCfHkpBgiaiv5wIA&quot;,
            &quot;randomKey&quot;: &quot;94vyn3&quot;
        }
    }
</code></pre>

<h4>7.注册时手机号校验（看系统是否已经存在该手机号,注册时调用顺序：7---&gt;8---&gt;9---&gt;1）</h4>
<p><strong>uri:</strong></p>
<ul>
<li><code>http://47.105.34.102/child/regCheckPhone</code></li>
</ul>
<p><strong>请求方式：</strong></p>
<ul>
<li>POST  </li>
</ul>
<p><strong>参数:</strong></p>
<table>
<thead>
<tr>
	<th align="left">参数名</th>
	<th align="left">必选</th>
	<th align="left">类型</th>
	<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
	<td align="left">phoneNum</td>
	<td align="left">是</td>
	<td align="left">string</td>
	<td>手机号</td>
	<td></td>
</tr>
</tbody>
</table>
<p><strong>返回示例:</strong></p>
<pre><code>    {
        &quot;code&quot;: 0,
        &quot;message&quot;: &quot;账号可用&quot;
    }
</code></pre>

<h4>8.发送短信</h4>
<p><strong>uri:</strong></p>
<ul>
<li><code>http://47.105.34.102/child/sendMsg</code></li>
</ul>
<p><strong>请求方式：</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong></p>
<table>
<thead>
<tr>
	<th align="left">参数名</th>
	<th align="left">必选</th>
	<th align="left">类型</th>
	<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
	<td align="left">phoneNum</td>
	<td align="left">是</td>
	<td align="left">string</td>
	<td>手机号</td>
	<td></td>
</tr>
<tr>
	<td align="left">msgType</td>
	<td align="left">是</td>
	<td align="left">string</td>
	<td>发送短信类型，包括register/login/forget(注册/登录/忘记密码)</td>
	<td></td>
</tr>
</tbody>
</table>
<p><strong>返回示例:</strong></p>
<pre><code>   成功:

   {
        &quot;code&quot;: 0,
        &quot;message&quot;: &quot;发送成功&quot;
   } 

   手机号不符合要求:

   {
        &quot;code&quot;: 1,
        &quot;message&quot;: &quot;手机号不符合要求&quot;
   } 

   注册时手机号已被注册:

   {
        &quot;code&quot;: 1,
        &quot;message&quot;:&quot;该手机号已被注册&quot;
   }

   忘记密码时判断手机号是否已注册:

   {
        &quot;code&quot;: 1,
        &quot;message&quot;: &quot;账号不存在&quot;
   }
</code></pre>

<h4>9.短信验证(在注册和忘记密码时使用)</h4>
<ul>
<li>
<p>uri</p>
<p>/child/checkPhoneCode</p>
</li>
<li>
<p>参数</p>
<p>phoneNum:手机号</p>
<p>code: 收到的短信验证码</p>
<p>msgType:发送短信类型，包括register/forget(注册/忘记密码)</p>
</li>
<li>
<p>返回结果</p>
<pre><code>   {
        &quot;code&quot;:0,
        &quot;message&quot;:&quot;验证通过&quot;
   }
</code></pre>

</li>
</ul>
<h4>10.忘记密码时判断手机账号是否存在(密码找回接口调用顺序：10---&gt;8---&gt;9---&gt;11)</h4>
<ul>
<li>uri</li>
</ul>
<p>/child/forgetCheckPhone</p>
<ul>
<li>参数</li>
</ul>
<p>phoneNum:手机号</p>
<ul>
<li>
<p>返回结果</p>
<pre><code>{
   &quot;code&quot;: 0,
   &quot;message&quot;: &quot;账号可用&quot;
}
</code></pre>

</li>
</ul>
<h4>11.忘记密码的密码修改</h4>
<ul>
<li>
<p>uri</p>
<p>/child/forgetUpPwd</p>
</li>
<li>
<p>参数</p>
<p>phoneNum:手机号</p>
<p>code:短信验证码</p>
<p>password:新密码</p>
</li>
<li>
<p>返回结果</p>
<pre><code>{
    &quot;code&quot;:0,
    &quot;message&quot;:&quot;update password success&quot;
}
</code></pre>

</li>
</ul>
<h4>12.短信登录接口（接口调用顺序：8---&gt;12）</h4>
<ul>
<li>
<p>uri</p>
<p>/child/msgLogin</p>
</li>
<li>
<p>参数</p>
<p>phoneNum:手机号</p>
<p>code:短信验证码</p>
</li>
<li>
<p>返回数据</p>
<pre><code>{
    &quot;code&quot;: 0,
    &quot;message&quot;: &quot;success&quot;,
    &quot;data&quot;:{
        &quot;token&quot;: &quot;eyJhbGciOiJIUzUxMiJ9.eyJyYW5kb21LZXkiOiI5NHZ5bjMiLCJzdWIiOiIyMDAwNSIsImV4cCI6MTUxNzczNzk2MiwiaWF0IjoxNTE1MTQ1OTYyfQ.MOd7V1aJX5xHyxxIcCRqlll2hN8GaP_h1woNhy9tD3RF1lrnpYsGavrFagLc0Fj_D7EqB9pCfHkpBgiaiv5wIA&quot;,
        &quot;randomKey&quot;: &quot;94vyn3&quot;
    }
}
</code></pre>

</li>
</ul>
<h4>13.修改密码</h4>
<ul>
<li>
<p>uri</p>
<p>/child/user/updatePwd</p>
</li>
<li>
<p>header</p>
</li>
</ul>
<p>Authorization: Bearer token </p>
<ul>
<li>参数</li>
</ul>
<p>oldPassword:原密码</p>
<p>passsword:新密码</p>
<ul>
<li>
<p>返回结果</p>
<pre><code>{
    &quot;code&quot;:0,
    &quot;message&quot;:&quot;修改成功&quot;
}
</code></pre>

</li>
</ul>
<h4>14.用户视频收藏分页列表</h4>
<ul>
<li>
<p>uri</p>
<p>/child/user/pageUserVideo</p>
</li>
<li>
<p>header</p>
</li>
</ul>
<p>Authorization: Bearer token </p>
<ul>
<li>参数</li>
</ul>
<p>currentPage:当前页,默认为1</p>
<p>pageSize:每页条数,默认为6</p>
<ul>
<li>
<p>返回结果</p>
<pre><code>{
    &quot;code&quot;: 0,
    &quot;message&quot;: &quot;success&quot;,
    &quot;data&quot;:{
        &quot;dataList&quot;:[
            {
                &quot;id&quot;: 111,
                &quot;name&quot;: &quot;小叮当&quot;,
                &quot;filePath&quot;: &quot;http://erge.file.7toutiao.com/video/20180121/cb2efd34-ef21-4ad3-ab75-4305a6eca4f9.qlv&quot;,
                &quot;logoPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180121/7cba759d-b490-493e-a48e-c8bb1a92d5bb.jpg?_upt=551831de1518057908416&quot;,
                &quot;playCount&quot;: 53630,
                &quot;shareCount&quot;: 46,
                &quot;downloadCount&quot;: 142,
                &quot;cateId&quot;: 17,
                &quot;rating&quot;: 1
            }
        ],
        &quot;pageNo&quot;: 1,
        &quot;pageSize&quot;: 6,
        &quot;total&quot;: 1,
        &quot;pages&quot;: 1
    }
}
</code></pre>

</li>
</ul>
<h4>15.用户收藏视频</h4>
<ul>
<li>
<p>uri</p>
<p>/child/user/userCollectVideo</p>
</li>
<li>
<p>header</p>
</li>
</ul>
<p>Authorization: Bearer token </p>
<ul>
<li>参数</li>
</ul>
<p>videoId:视频id</p>
<ul>
<li>
<p>返回结果</p>
<pre><code>{
    &quot;code&quot;:0,
    &quot;message&quot;:&quot;创建成功&quot;
}          
</code></pre>

</li>
</ul>
<h4>16.删除收藏视频</h4>
<ul>
<li>
<p>uri</p>
<p>/child/user/userDeleteVideo</p>
</li>
<li>
<p>header</p>
<p>Authorization: Bearer token </p>
</li>
<li>
<p>参数</p>
</li>
</ul>
<p>videoId:视频id</p>
<ul>
<li>
<p>返回结果</p>
<pre><code>{
    &quot;code&quot;:0,
    &quot;message&quot;:&quot;删除成功&quot;
}
</code></pre>

</li>
</ul>
<h4>17.批量删除收藏视频</h4>
<ul>
<li>
<p>uri</p>
<p>/child/user/userBatchDelVideo</p>
</li>
<li>
<p>header</p>
</li>
</ul>
<p>Authorization: Bearer token </p>
<ul>
<li>参数</li>
</ul>
<p>videoIds:视频的集合,中间用逗号分隔,如：23,21,30</p>
<ul>
<li>
<p>返回结果</p>
<pre><code>{
    &quot;code&quot;:0,
    &quot;message&quot;:&quot;删除成功&quot;
}
</code></pre>

</li>
</ul>
<h4>18.判断用户是否已经收藏过该视频</h4>
<ul>
<li>
<p>uri</p>
<p>/child/user/videoIsCollected</p>
</li>
<li>
<p>header</p>
</li>
</ul>
<p>Authorization: Bearer token </p>
<ul>
<li>参数</li>
</ul>
<p>videoId: 视频id</p>
<ul>
<li>
<p>返回结果</p>
<pre><code>未被收藏：

{
    &quot;code&quot;: 0,
    &quot;message&quot;: &quot;not exist&quot;,
    &quot;data&quot;:{
        &quot;isCollected&quot;: false
    }
} 

已被收藏：

{
    &quot;code&quot;: 0,
    &quot;message&quot;: &quot;exist&quot;,
    &quot;data&quot;:{
        &quot;isCollected&quot;: true
    }
}
</code></pre>

</li>
</ul>
<h4>19. 用户音频分页列表</h4>
<ul>
<li>
<p>uri</p>
<p>/child/user/pageUserRadio</p>
</li>
<li>
<p>header</p>
</li>
</ul>
<p>Authorization: Bearer token </p>
<ul>
<li>参数</li>
</ul>
<p>currentPage:当前页,默认为1</p>
<p>pageSize:每页条数,默认为6</p>
<ul>
<li>
<p>返回结果</p>
<pre><code>{
    &quot;code&quot;: 0,
    &quot;message&quot;: &quot;success&quot;,
    &quot;data&quot;:{
        &quot;dataList&quot;:[
            {
                &quot;id&quot;: 111,
                &quot;name&quot;: &quot;小叮当&quot;,
                &quot;filePath&quot;: &quot;http://erge.file.7toutiao.com/video/20180121/cb2efd34-ef21-4ad3-ab75-4305a6eca4f9.qlv&quot;,
                &quot;logoPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180121/7cba759d-b490-493e-a48e-c8bb1a92d5bb.jpg?_upt=551831de1518057908416&quot;,
                &quot;playCount&quot;: 53630,
                &quot;shareCount&quot;: 46,
                &quot;downloadCount&quot;: 142,
                &quot;cateId&quot;: 17,
                &quot;rating&quot;: 1
            }
        ],
        &quot;pageNo&quot;: 1,
        &quot;pageSize&quot;: 6,
        &quot;total&quot;: 1,
        &quot;pages&quot;: 1
    }
}
</code></pre>

</li>
</ul>
<h4>20. 用户播放记录分页列表</h4>
<ul>
<li>
<p>uri</p>
<p>/user/play/record/list</p>
</li>
<li>
<p>header</p>
<p>Authorization: Bearer token </p>
</li>
<li>
<p>参数</p>
<p>currentPage:当前页,默认为1</p>
<p>pageSize:每页条数,默认为6</p>
<p>resType: 资源类型 0表示音频 1表示视频</p>
</li>
<li>
<p>返回结果</p>
<pre><code>{
    &quot;code&quot;: 0,
    &quot;message&quot;: &quot;success&quot;,
    &quot;data&quot;:{
        &quot;dataList&quot;:[
            {
                &quot;id&quot;: 111,
                &quot;name&quot;: &quot;小叮当&quot;,
                &quot;filePath&quot;: &quot;http://erge.file.7toutiao.com/video/20180121/cb2efd34-ef21-4ad3-ab75-4305a6eca4f9.qlv&quot;,
                &quot;logoPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180121/7cba759d-b490-493e-a48e-c8bb1a92d5bb.jpg?_upt=551831de1518057908416&quot;,
                &quot;playCount&quot;: 53630,
                &quot;shareCount&quot;: 46,
                &quot;downloadCount&quot;: 142,
                &quot;cateId&quot;: 17,
                &quot;rating&quot;: 1
            }
        ],
        &quot;pageNo&quot;: 1,
        &quot;pageSize&quot;: 6,
        &quot;total&quot;: 1,
        &quot;pages&quot;: 1
    }
}
</code></pre>

</li>
</ul>
<h4>21. 用户批量删除播放记录</h4>
<ul>
<li>
<p>uri</p>
<p>/user/play/record/clear</p>
</li>
<li>
<p>header</p>
<p>Authorization: Bearer token </p>
</li>
<li>
<p>参数</p>
<p>无</p>
</li>
<li>
<p>body</p>
<pre><code>[807]  //资源的id列表
</code></pre>

</li>
<li>
<p>返回结果</p>
<pre><code>{
    &quot;code&quot;: 0,
    &quot;message&quot;: &quot;清除成功&quot;,
}
</code></pre>

</li>
</ul>
<h3>6.频道接口</h3>
<h4>1.所有频道</h4>
<p><strong>uri：</strong> </p>
<ul>
<li>/child/channel/list</li>
</ul>
<p><strong>method:</strong>    </p>
<ul>
<li>GET</li>
</ul>
<p><strong>header:</strong></p>
<ul>
<li>无</li>
</ul>
<p><strong>参数:</strong></p>
<ul>
<li>无</li>
</ul>
<p><strong>返回结果:</strong></p>
<pre><code>    {
        &quot;code&quot;: 0,
        &quot;message&quot;: &quot;success&quot;,
        &quot;data&quot;: [
            {
                &quot;id&quot;: 2,
                &quot;title&quot;: &quot;听&quot;,
                &quot;comment&quot;: &quot;听&quot;,
                &quot;rank&quot;: 2
            },
            {
                &quot;id&quot;: 5,
                &quot;title&quot;: &quot;段子&quot;,
                &quot;comment&quot;: &quot;段子&quot;,
                &quot;rank&quot;: 1
            }
        ]
    }
</code></pre>

<h4>2.用户关注的频道</h4>
<p><strong>uri：</strong> </p>
<ul>
<li>/child/channel/user/list</li>
</ul>
<p><strong>method:</strong>  </p>
<ul>
<li>GET    </li>
</ul>
<p><strong>header:</strong></p>
<ul>
<li>Authorization: Bearer token </li>
</ul>
<p><strong>参数:</strong></p>
<ul>
<li>无</li>
</ul>
<p><strong>返回结果:</strong></p>
<pre><code>    {
        &quot;code&quot;: 0,
        &quot;message&quot;: &quot;success&quot;,
        &quot;data&quot;: [
            {
                &quot;id&quot;: 2,
                &quot;title&quot;: &quot;听&quot;,
                &quot;comment&quot;: &quot;听&quot;,
                &quot;rank&quot;: 2
            },
            {
                &quot;id&quot;: 5,
                &quot;title&quot;: &quot;段子&quot;,
                &quot;comment&quot;: &quot;段子&quot;,
                &quot;rank&quot;: 1
            }
        ]
    }   
</code></pre>

<h4>3.用户关注频道</h4>
<p><strong>uri：</strong> </p>
<ul>
<li>/child/channel/user/bind</li>
</ul>
<p><strong>method:</strong> </p>
<ul>
<li>POST    </li>
</ul>
<p><strong>header:</strong></p>
<ul>
<li>Authorization: Bearer token </li>
</ul>
<p><strong>参数:</strong></p>
<ul>
<li>无</li>
</ul>
<p>** body:**</p>
<pre><code>[2,5]
</code></pre>

<p><strong>返回结果:</strong></p>
<pre><code>    {
        &quot;code&quot;: 0,
        &quot;message&quot;: &quot;关注成功&quot;
    }   
</code></pre>

<h4>4.用户取消频道关注</h4>
<p><strong>uri：</strong> </p>
<ul>
<li>/child/channel/user/unbind</li>
</ul>
<p><strong>method:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>header:</strong></p>
<ul>
<li>Authorization: Bearer token </li>
</ul>
<p><strong>参数:</strong></p>
<ul>
<li>无</li>
</ul>
<p><strong>body:</strong></p>
<pre><code>[2,5]
</code></pre>

<p><strong>返回结果:</strong></p>
<pre><code>    {
        &quot;code&quot;: 0,
        &quot;message&quot;: &quot;取消关注成功&quot;
    }   
</code></pre>

<h4>5.频道下的音频列表</h4>
<p><strong>uri：</strong> </p>
<ul>
<li>/child/channel/radio/list</li>
</ul>
<p><strong>method:</strong></p>
<ul>
<li>GET    </li>
</ul>
<p><strong>header:</strong></p>
<ul>
<li>无</li>
</ul>
<p><strong>参数:</strong></p>
<ul>
<li>channelId  : 频道id</li>
</ul>
<p><strong>body:</strong></p>
<ul>
<li>无</li>
</ul>
<p><strong>返回结果:</strong></p>
<pre><code>    {
        &quot;code&quot;: 0,
        &quot;message&quot;: &quot;success&quot;,
        &quot;data&quot;: [
            {
                &quot;id&quot;: 140,
                &quot;name&quot;: &quot;小星星&quot;,
                &quot;playCount&quot;: 53201,
                &quot;productName&quot;: &quot;睡前音乐&quot;,
                &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20180504/1d3beae1-e938-469e-8a5e-303dccaeb6a0.jpg?_upt=2c0fc9af1565283194&quot;,
                &quot;playPath&quot;: &quot;http://erge.file.7toutiao.com/video/20180504/d29a875a-d289-4feb-a0c3-2ff5771c24d4.mp4&quot;
            },
            {
                &quot;id&quot;: 799,
                &quot;name&quot;: &quot;第11集：与大虎鲸&quot;,
                &quot;playCount&quot;: 50111,
                &quot;productName&quot;: &quot;海底小纵队&quot;,
                &quot;picPath&quot;: &quot;http://erge.file.7toutiao.com/images/20190807/9336a57b-0bbc-4e70-aaaf-c6a6202a8fe2.jpg?_upt=c845072d1565283194&quot;,
                &quot;playPath&quot;: &quot;http://erge.file.7toutiao.com/video/20190807/71f8326b-83a7-4b45-b423-76d9a802e788.mp4&quot;
            }
        ]
    }                                         
</code></pre>


</body>
</html>
<!-- This document was created with MarkdownPad, the Markdown editor for Windows (http://markdownpad.com) -->
